{
  "properties" : { },
  "id" : "081f1b8fa7ce4a8fa508f05e3f3710b5",
  "script" : null,
  "groupId" : "0261e43407c04ca8a513406f4ce13134",
  "name" : "liubp.html",
  "createTime" : null,
  "updateTime" : 1744731202573,
  "lock" : null,
  "createBy" : null,
  "updateBy" : "可辉",
  "path" : "liubp.html"
}
================================
<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>|</title>
    <link rel="stylesheet" href="/plugs/tinyflow-ai/index.css" />
    <script src="/plugs/tinyflow-ai/index.umd.js"></script>
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
      html, body {
        height: 100%
      }
      .tinyflow {
        height: calc(100vh - 58px);
        padding: 0;
      }
    </style>
</head>
<body>

<div class="tinyflow"></div>

<script>
    var tinyflow = new Tinyflow.Tinyflow({
      element: '.tinyflow',
      data: {
        "nodes":[
          {
            "id":"node_hyWDqHpCdoupEQEO",
            "position":{"x":53,"y":49},
            "data":{
              "title":"开始节点","description":"开始定义输入参数","expand":true,
              "parameters":[{"id":"7BB9XGvsCeMQStZq","name":"test"}],
            },
            "type":"startNode","selected":false,"measured":{"width":306,"height":209},"dragging":false
          },
          {
            "id":"node_EmmgWkcdQu6dEzTH","position":{"x":624,"y":89},
            "data":{
              "title":"结束节点","description":"结束定义输出参数","expand":true,
              "outputDefs":[{"id":"pxOHtOEQIZebK0Te","name":"test","ref":"node_hyWDqHpCdoupEQEO.test"}],
            },
            "type":"endNode","selected":false,"measured":{"width":323,"height":209},"dragging":false
          }
        ],
        "edges":[
          {
            "markerEnd":{"type":"arrowclosed","width":20,"height":20},
            "source":"node_hyWDqHpCdoupEQEO","target":"node_EmmgWkcdQu6dEzTH",
            "id":"xy-edge__node_hyWDqHpCdoupEQEO-node_EmmgWkcdQu6dEzTH",
            "selected":false,
          },
        ],
        "viewport":{"x":250,"y":100,"zoom":1}
      },
    });

    function exportData() {
       const data = tinyflow.getData();
       alert(JSON.stringify(data));
    }
</script>
</body>
</html>
